package cn.akwangl.springbootdev.enums;

public enum ErrorEnum {
    SUCCESS(200,"操作成功！"),
    ERROR(500,"系统错误！");

    private int code;
    private String msg;

    ErrorEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
